import java.io.FileInputStream;
import java.io.IOException;
public class  FileReader {
    public byte[] readFile(String filePath) throws IOException {
        FileInputStream fis = new FileInputStream(filePath);

        byte[] fileContent = new byte[1024];
        fis.read(fileContent);
        fis.close();
        return fileContent;
    }
}